</tr>
</tbody>
</table>
<div class="clear">
</div>
<div id="footer" class="round">
  <ul>
    <li>This site is supported by <a href="https://twitter.com/#!/<?php echo SITE_OWNER ?>" target="_blank"><?php echo SITE_OWNER ?></a>
       of <a href="<?php echo WEB_SITE ?>" title="Website" target="_blank"><?php echo SITE_NAME; ?></a>.</li>
    <?php if(loginStatus()) :?>
    <li>
      API:
      <span style="color:#2276BB">
        <?php $r = getTwitter() -> ratelimit();
        echo $r -> remaining_hits.'/'.$r -> hourly_limit;?>
      </span>
    </li>
    <?php endif;?>
  </ul>
</div>
</div>
</div>
<script>
  var nav=document.getElementById("primary_nav");
  var links=nav.getElementsByTagName("a");
  var currenturl=document.location.href;
  for(var i=0;i<links.length;i++) {
    var linkurl=links[i].getAttribute("href");
    if(currenturl==links[i]) {
      links[i].className="active";
    }
  }
</script>
</body>
</html>
